<!doctype html>
<html>
	<head>
		<meta charset="UTF-8" />
		<title>{{.install_name}}</title>
		<link rel="stylesheet" href="/static/css/install.css" />
	</head>
	<body>
		<div class="wrap">
			<div class="header">
				<h1 class="header-title">{{.install_name}}</h1>
				<div class="header-install">&nbsp;&nbsp;安装向导</div>
				<div class="header-version">版本：{{.version}}</div>
			</div>
			<div class="step">
				<ul>
					<li>{{.step_html}}</li>
				</ul>
			</div>
<!-- header -->			
			

	<div class="section">
		
		<div class="main server">
			<table width="100%">
				<tr>
					<td class="td1">环境检测</td>
					<td class="td1" width="25%">推荐配置</td>
					<td class="td1" width="25%">当前状态</td>
					<td class="td1" width="25%">最低要求</td>
				</tr>
				<tr>
					<td>操作系统</td>
					<td>类UNIX</td>
					<td><span class="correct_span">&radic;</span> {{.os}}</td>
					<td>不限制</td>
				</tr>
				<tr>
					<td>go版本</td>
					<td>>Go 1.19+ </td>
					<td><span {{if compare 1 $.go_version_check }}class="correct_span"{{else}}class="error_span"{{end}} >&radic;</span> {{.go_version}}</td>
					<td>Go 1.19</td>
				</tr>
				<tr>
					<td>Mysql版本</td>
					<td>5.6 <br/></td>
					<td> 未知 </td>
					<td>5.6  <span style="font-size:10px;color:red;">注：(Mysql版本5.7及以上需要在配置文件里去掉 ONLY_FULL_GROUP_BY 参数)</span></td>
				</tr>
				
				
			</table>
			
			</div>
		</div>
		<div class="btn-box">
		<a href="/install?step=2" class="btn">重新检测</a>
		{{if compare 1 $.go_version_check }}
			<a href="/install?step=3" class="btn">下一步</a>
		{{else}}
			<button href="#" class="btn error" disabled>当前有误</button>
		{{end}}
		</div>

	
<!-- footer -->
		</div>
		<div class="footer"> {{.footer_info}} </div>
	</body>
</html>